package howe.sudoku.util;

import java.util.regex.Pattern;

public final class CheckUtils {

    private CheckUtils() { }

    public static boolean checkRequired(String value) {
        if ((value == null) || (value.length() == 0)) {
            return false;
        }
        return true;
    }

    public static boolean isNumeric(String str){
        Pattern pattern = Pattern.compile("[0-9]*");
        return pattern.matcher(str).matches();
    }
}